package com.example.other.service;

import com.example.other.domain.Hospital;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Limhuang
* @description 针对表【hospital】的数据库操作Service
* @createDate 2024-07-03 10:15:00
*/
public interface HospitalService extends IService<Hospital> {
    List<Hospital> getList();
    Hospital getById(int id);

    Hospital add(Hospital hospital);

    Hospital update(Hospital hospital);

    Hospital delete(int id);
}
